package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.StuCompetition;

/**
 * 竞赛获奖Mapper接口
 * 
 * @author ruoyi
 * @date 2024-01-09
 */
public interface StuCompetitionMapper 
{
    /**
     * 查询竞赛获奖
     * 
     * @param comId 竞赛获奖主键
     * @return 竞赛获奖
     */
    public StuCompetition selectStuCompetitionByComId(Long comId);

    /**
     * 查询竞赛获奖列表
     * 
     * @param stuCompetition 竞赛获奖
     * @return 竞赛获奖集合
     */
    public List<StuCompetition> selectStuCompetitionList(StuCompetition stuCompetition);

    /**
     * 新增竞赛获奖
     * 
     * @param stuCompetition 竞赛获奖
     * @return 结果
     */
    public int insertStuCompetition(StuCompetition stuCompetition);

    /**
     * 修改竞赛获奖
     * 
     * @param stuCompetition 竞赛获奖
     * @return 结果
     */
    public int updateStuCompetition(StuCompetition stuCompetition);

    /**
     * 删除竞赛获奖
     * 
     * @param comId 竞赛获奖主键
     * @return 结果
     */
    public int deleteStuCompetitionByComId(Long comId);

    /**
     * 批量删除竞赛获奖
     * 
     * @param comIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteStuCompetitionByComIds(String[] comIds);
}
